package com.zhongwang.business.gen.mapper;

import com.zhongwang.business.gen.entity.BusMaterialData;
import com.zhongwang.business.gen.entity.BusMaterialDataExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BusMaterialDataMapper {
    long countByExample(BusMaterialDataExample example);

    int deleteByExample(BusMaterialDataExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BusMaterialData record);

    int insertSelective(BusMaterialData record);

    List<BusMaterialData> selectByExample(BusMaterialDataExample example);

    BusMaterialData selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BusMaterialData record, @Param("example") BusMaterialDataExample example);

    int updateByExample(@Param("record") BusMaterialData record, @Param("example") BusMaterialDataExample example);

    int updateByPrimaryKeySelective(BusMaterialData record);

    int updateByPrimaryKey(BusMaterialData record);
}